This function defines whether the pixel center or pixel corner (as defined by the EOS_GD_DEFORIGIN function) is used when requesting the location (longitude and latitude) of a given pixel.
Result = EOS_GD_DEFPIXREG(gridID, pixreg)
Returns SUCCEED(0) if successful and FAIL(–1) otherwise.
Grid id (long) returned by EOS_GD_CREATE or EOS_GD_ATTACH.
Pixel registration (long). The allowable values are:
None
In this example, we define the pixel registration to be the corner of the pixel cell:
status = EOS_GD_DEFPIXREG(gridID, 1)
5.2 |
Introduced |